//
//  BNHomeListView.m
//  BNCodeGuide
//
//  Created by Mac on 2021/5/22.
//  Copyright © 2021 kevin007. All rights reserved.
//

#import "BNHomeListView.h"

#import "BNHomeCell.h" //cell


@implementation BNHomeListView

#pragma mark - -------------UICollectionViewDataSource----------------
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 50;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    BNHomeCell *cell = [BNHomeCell cellFromXibWithTableView:tableView];
    cell.titleLabel.text = [NSString stringWithFormat:@"index-%ld",(long)indexPath.row];
    
    return cell;
}

@end
